from fastapi import FastAPI
import uvicorn

app = FastAPI()


@app.post("/items",tags=["这是items测试接口"])
def test():
    return  {"items": "items数据"}


if __name__ == '__main__':
    uvicorn.run("05路径操作装饰器方法参数:app", port=8000, reload=True)